#include<stdio.h>
void print(int arr[],int sz)
{
	int *p=arr;
	while(sz--)
	{
		printf("%d ",*p);
		p++;
	}
}
int main()
{
	int arr[10]={1,5,2,4,6,3,7,8,9,0};
	int n=sizeof(arr)/sizeof(arr[0]);
	print(arr,n);
}
